home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 December / MACPOWER-1997-12.ISO.7z / MACPOWER-1997-12.ISO / MacPowerオリジナル / Edutainment World / チャンプジム for DEMO / DIR / shared.cst / 00005_Script_5 < prev    next >
Text File  |  1997-09-29  |  2KB  |  88 lines

  1. on cursorINIT
  2.   global hitosasihand,openhand,closehand,MU,MD
  3.   set hitosasihand = []
  4.   add hitosasihand,the number of cast "yubi"
  5.   add hitosasihand,the number of cast "yubimask"
  6.   set openhand = []
  7.   add openhand,the number of cast "hiraki"
  8.   add openhand,the number of cast "hirakimask"
  9.   set closehand = []
  10.   add closehand,the number of cast "nigiri"
  11.   add closehand,the number of cast "nigirimask"
  12.   set MU = []
  13.   add MU,the number of cast "MU"
  14.   add MU,the number of cast "MUmask"
  15.   set MD = []
  16.   add MD,the number of cast "MD"
  17.   add MD,the number of cast "MDmask"
  18.   
  19.   
  20.   cursor 0
  21.   repeat with i=1 to 48
  22.     set the cursor of sprite i to 0
  23.   end repeat
  24. end 
  25.  
  26. --on QuitHelpVideoCheck
  27. --  global QuitPause,HelpPause,VideoPause,GroupPause
  28. --  if QuitPause = "true" then abort
  29. --  if HelpPause = "true" then abort
  30. --  if VideoPause = "true" then abort
  31. --  if GroupPause = "true" then abort
  32. --end
  33. --
  34. --on VideoCheck
  35. --  global QuitPause,HelpPause
  36. --  if QuitPause = "true" then abort
  37. --  if HelpPause = "true" then abort
  38. --end
  39. --
  40. --on ReturnMarker
  41. --  global Rlimit
  42. --  put the frame into R
  43. --  append Rframe,R
  44. --  if count(Rframe)>Rlimit then deleteAt Rframe,1
  45. --  set the visible of sprite 45 to true
  46. --end
  47. --
  48. --
  49. --on getSprite
  50. --  global gVsprite,gPsprite,HRframe
  51. --  put empty into gVsprite
  52. --  put empty into gPsprite
  53. --  put the frame into HRframe
  54. --  repeat with i=1 to 46
  55. --    put (the visible of sprite i) & "," after gVsprite
  56. --    put (the puppet of sprite i) & "," after gPsprite
  57. --  end repeat
  58. --  
  59. --  repeat with i=1 to 48
  60. --    puppetSprite i,false
  61. --    set the visible of sprite i to true
  62. --  end repeat
  63. --  global wordbookTimes
  64. --  put "OFF" into wordbookTimes
  65. --  cursorINIT
  66. --  cursorHELP
  67. --end
  68. --
  69. --on setSprite
  70. --  set the visible of sprite 47 to false
  71. --  set the visible of sprite 48 to false
  72. --  global gVsprite,gPsprite,HRframe
  73. --  if label("a") <= HRframe and HRframe < label("ending") then
  74. --    repeat with i=1 to 46
  75. --      set the visible of sprite i to integer(item i of gVsprite)
  76. --      set the puppet of sprite i to integer(item i of gPsprite)
  77. --    end repeat
  78. --    go to frame HRframe
  79. --  else
  80. --    go to frame HRframe
  81. --    repeat with i=1 to 46
  82. --      set the visible of sprite i to integer(item i of gVsprite)
  83. --      set the puppet of sprite i to integer(item i of gPsprite)
  84. --    end repeat
  85. --  end if
  86. --  cursorINIT
  87. --  cursorNORMAL
  88. --end